import axios from '@/utils/downLoad'
import moment from "moment";

export function downLoadEmpWage(params) {
  return axios({
    url: '/EmpWage/downLoad',
    method: 'post',
    data: params,
    excelName:"工资结算"
  })
}

export function downLoadEmpScore(params) {
  return axios({
    url: '/EmpScore/downLoad',
    method: 'post',
    data: params,
    excelName:"评分结算"
  })
}

export function downLoadEmpPiece(params) {
  return axios({
    url: '/EmpPiece/downLoad',
    method: 'post',
    data: params,
    excelName:"计件结算"
  })
}

export function downLoadEmpKpi(params) {
  return axios({
    url: '/EmpKpi/downLoad',
    method: 'post',
    data: params,
    excelName:"提成结算"
  })
}

export function downLoadEmpOkr(params) {
  return axios({
    url: '/EmpOkr/downLoad',
    method: 'post',
    data: params,
    excelName:"Okr结算"
  })
}

export function downLoadEmployeePosition(params) {
  return axios({
    url: '/EmployeePosition/downLoad',
    method: 'post',
    data: params,
    excelName:"员工岗位"
  })
}